
import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
 * 获取 DmsPreDeployMachine 分页列表
*/
export function getDmsPreDeployMachinePagination(data: any) {
  return axios.get(`${context}/dmsPreDeployMachine/pagination`, { params: data });
}


/**
 * 获取 DmsPreDeployMachine 所有数据
*/
export function getDmsPreDeployMachineAllList(data: any) {
  return axios.get(`${context}/dmsPreDeployMachine/all`, { params: data });
}


/**
 * 获取 DmsPreDeployMachine 详情
*/
export function getDmsPreDeployMachineDetailById(id: any) {
  return axios.get(`${context}/dmsPreDeployMachine/${id}`, { params:{id} });
}


/**
 * 新增 DmsPreDeployMachine
*/
export function addDmsPreDeployMachine(data: any) {
  return axios.post(`${context}/dmsPreDeployMachine`, data);
}

/**
 * 修改 DmsPreDeployMachine
*/
export function updateDmsPreDeployMachine(data: any) {
  return axios.put(`${context}/dmsPreDeployMachine`, data);
}

/**
 * 删除 DmsPreDeployMachine
*/
export function batchRemoveDmsPreDeployMachine(data: any) {
  return axios.post(`${context}/dmsPreDeployMachine/batchRemove`, data);
}

    